package com.annchain.og_browser.service;

import com.annchain.og_browser.entity.OgbTransaction;
import com.annchain.og_browser.vo.*;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface OgbTransactionService {
    public BasePageResponse<LatestTransactionVO> findData(Integer page, Integer limit);
    public TransferTxVO findTransferByTxHash(String hash);
    public DepositeTxVO findDepositeByTxHash(String hash);
    public IssueTxVO findIssueByTxHash(String hash);
    public BasePageResponse<List<TransactionsInBlock>> findTibByHeight(Integer page, Integer limit, Integer height);
    public BasePageResponse<List<TransactionsInBlock>> findTibByHash(Integer page, Integer limit, String hash);
    public OgbTransaction findByHash(String hash);
}
